<body>
	<div class="pad_10">
		<div class="common-form">
			<form name="myform" action="/Administrator/edit/" method="post"
				id="myform">
				<input type="hidden" id="uid" name="uid" value="<?php echo $AdminInfo['Admin']['uid'] ?>"></input>
				<table width="100%" class="table_form contentWrap">
					<tr>
						<td width="80"><strong>用户名：</strong></td>
						<td><?php echo $AdminInfo['Admin']['username'] ?></td>
					</tr>
					<tr>
						<td><strong>密码：</strong></td>
						<td><input type="password" name="password" id="password"
							class="input-text"></input></td>
					</tr>
					<tr>
						<td><strong>确认密码：</strong></td>
						<td><input type="password" name="pwdconfirm" id="pwdconfirm"
							class="input-text"></input></td>
					</tr>
					<tr>
						<td><strong>E-mail：</strong></td>
						<td><input type="text" name="email"
							value="<?php echo $AdminInfo['Admin']['email'] ?>" class="input-text" id="email"
							size="30"></input></td>
					</tr>

					<tr>
						<td><strong>真实姓名：</strong></td>
						<td><input type="text" name="realname"
							value="<?php echo $AdminInfo['Admin']['realname'] ?>" class="input-text" id="realname"></input></td>
					</tr>
					<tr>
						<td><strong>所属角色：</strong></td>
						<td><select id="roleid" name="roleid">
								<?php
								if(!empty($Rolelist)) {
								foreach ($Rolelist as $val) {
								?>
								<option
									<?php if($val['AdminRole']['roleid']==$AdminInfo['Admin']['roleid']) { ?>selected<?php } ?>
									value="<?php echo $val['AdminRole']['roleid'] ?>" ><?php echo $val['AdminRole']['rolename'] ?>
								</option>
								<?php }} ?>
						</select></td>
					</tr>
				</table>
				<div class="bk15"></div>
				<input name="dosubmit" type="submit" value="提交" class="dialog"
					id="dosubmit">
			</form>
		</div>
	</div>
</body>